package com.hermit.hermitmusicserver.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.hermit.hermitmusicserver.entity.TestEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author hermit
 * @data 2021/6/23
 */
@Mapper
public interface TestDao extends BaseMapper<TestEntity> {

    @Select("selectTestPage")
    List<TestEntity> selectTestPage(Pagination pagination, Integer state);
}
